<?php

namespace App\Models\base\traits;

use App\Models\nursery\UserMajor;

trait HasUserMajor
{
    /**
     * @return \Illuminate\Database\Eloquent\Relations\BelongsTo
     */
    public function user_major()
    {
        return $this->hasOne(UserMajor::class);
    }


}
